package com.dynabook.ems.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class ProductionRecordVO {


    /**
     * 工单编号
     */
    @ApiModelProperty(value = "工单编号")
    private String workOrderNum;

    /**
     * 成品型号
     */
    @ApiModelProperty(value = "成品型号")
    private String finishedProductModel;

    /**
     * 旧品型号
     */
    @ApiModelProperty(value = "旧品型号")
    private String oldName;

    /**
     * 成品入库数
     */
    @ApiModelProperty(value = "成品入库数")
    private Integer finishedProductNumber;

    /**
     * 旧品入库数
     */
    @ApiModelProperty(value = "旧品入库数")
    private Integer oldNumber;

    /**
     * 消耗数
     */
    @ApiModelProperty(value = "消耗数")
    private Integer consumerNumber;

    /**
     * 发起人
     */
    @ApiModelProperty(value = "发起人")
    private String createUserName;

    @ApiModelProperty(value = "入库时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime insertTime;
}
